import $ from 'jquery';
import './assets/css/style.css';

class Point{
    constructor(x, y){
        this.x = x;
        this.y = y;
    }

    async show(){
        return this.x;
    }

    hide(){

    }
}

$("#login").click(x=>{
    var a = new Point(1, 2);
    var p = a.show().then(x=>{
        alert(x);
    })
})